package com.wu.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wu.mappers.ImagesMapper;
import com.wu.pojo.Images;
import com.wu.service.ImagesService;

import java.util.List;

/**
@author sun
@date 2022/3/21 - 7:40
*/
@Service
public class ImagesServiceImpl implements ImagesService{

    @Resource
    private ImagesMapper imagesMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return imagesMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Images record) {
        return imagesMapper.insert(record);
    }

    @Override
    public int insertSelective(Images record) {
        return imagesMapper.insertSelective(record);
    }

    @Override
    public Images selectByPrimaryKey(Integer id) {
        return imagesMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Images record) {
        return imagesMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Images record) {
        return imagesMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Images> findImages(Images images) {
        return imagesMapper.findImages(images);
    }

}
